package com.envper.security.domain;

import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.util.Set;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Claims implements Serializable {
    @Serial
    private static final long serialVersionUID = 1;

    private Long userId;

    private Long expiresAt;

    private Long issueAt;

    private Set<String> permissions;

    private Set<String> roles;
}